
<!DOCTYPE html>
<html >
<head>
<meta charset="utf-8" />
<title>会员登录界面</title>
<link rel="stylesheet" type="text/css" href="login/css/style.css" />
<link rel="stylesheet" type="text/css" href="login/css/body.css"/> 
</head>
<body>
<div class="container">
	<section id="content">
		<form id="form-login" action="empServlet?operate=login" method="post">
			<h1>会员登录</h1>
			<div>
				<input type="text" placeholder="用户名" required="" name="username" id="username" />
			</div>
			<div>
				<input type="password" placeholder="密码" required="" name="password" id="password" />
			</div>
			 <div class="">
				<span class="help-block u-errormessage" id="js-server-helpinfo">&nbsp;</span>			</div> 
			<div>
				<!-- <input type="submit" value="Log in" /> -->
				<input type="submit" value="登录" class="btn btn-primary" id="js-btn-login"/>
				<a href="#">忘记密码?</a>
				<!-- <a href="#">Register</a> -->
			</div>
		</form><!-- form -->
		 <div class="button">
			<span class="help-block u-errormessage" id="js-server-helpinfo">&nbsp;</span>
			<a href="#">注册</a>	
		</div> <!-- button -->
	</section><!-- content -->
</div>
<!-- container -->
 <script src="js/jquery-3.3.1.min.js"></script>
 <script src="js/sweetalert-2.1.0.min.js"></script>
<script>
	/* $("#js-btn-login").click(function(){
		$.ajax({
			url:'empServlet?operate=login',
			method:'post',
			data:$('#form-login').serialize(),
			dataType:'json'
		}).done(function(json){
			if(json.msg='success'){
				swal({
					  title: json.msg,
					  icon: "success",
					  button: "确定"
				});
			}
		});
	});  */
</script>

<br><br><br><br>
<div style="text-align:center;">
<p>来源:More Templates <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">模板之家</a> - Collect from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a></p>
</div>
</body>
</html>